﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
namespace APPLICATION.UserManager
{
    public static class GlobalDataFile
    {
        public static UMdataSet UserManagerDataSet=new UMdataSet();

        //Actions in per user(fn_TGetActions1(UserID=4))
        public static DataTable ActionsInPerUser = new DataTable("ActionsInPerUser");
        //Actions in per Role(fn_TGetActions2(RolesID=4))
        public static DataTable ActionsInPerRole = new DataTable("ActionsInPerRole");
        
        //Users in per role(e.g. fn_GetUserRoles2(RolesID=1))
        public static DataTable UsersInPerRole = new DataTable("UsersInPerRole");
        //Users in per action(fn_GetUserActions(ActionsID=1))
        public static DataTable UsersInPerAction = new DataTable("UsersInPerAction");

        //Roles in per user(e.g. fn_GetUserRoles1(UserID=1))
        public static DataTable RolesInPerUser = new DataTable("RolesInPerUser");
        //Roles in per action(e.g. fn_GetRolesActions(ActionsID=1)
        public static DataTable RolesInPerAction = new DataTable("RolesInPerAction");
    }
}
